export const tableOption = {
  "border": true,
  "index": true,
  "indexLabel": "序号",
  "stripe": true,
  "menuAlign": "center",
  "align": "center",
  "viewBtn": true,
  "editBtn": true,
  "delBtn": true,
  "searchMenuSpan": 6,
  "column": [
	  {
	    "hide": true,
      "type": "input",
      "label": "唯一标识",
      "prop": "id",
      "display": false
    },	  {
      "type": "input",
      "label": "交易编码",
      "prop": "typeCode",
      "search": true,
      "rules": [{ required: true, message: "请输入交易编码"}],
      editDisabled: true
    },	  {
      "type": "input",
      "label": "交易名称",
      "prop": "typeName",
      "search": true,
      "rules": [{ required: true, message: "请输入交易名称"}],
    },    {
      label: '状态',
      prop: 'status',
      type: 'select',
      search: true,
      dicData: [{
        label: '未启用',
        value: '0'
      }, {
        label: '启用',
        value: '1'
      }],
      rules: [{ required: true, message: "请选择状态"}],
    },	  {
      "type": "input",
      "label": "描述",
      "prop": "comments"
    },	  {
      "hide": true,
      "type": "input",
      "label": "创建人ID",
      "prop": "creatorId",
      "display": false
    },	  {
      "hide": true,
      "type": "input",
      "label": "创建人名称",
      "prop": "creatorName",
      "display": false
    },	  {
      "hide": false,
      "type": "input",
      "label": "创建时间",
      "prop": "createTime",
      "display": false
    }, {
      type: "date",
      label: "创建时间",
      prop: "createTimeDto",
      format: 'yyyy-MM-dd',
      valueFormat: 'yyyy-MM-dd',
      display: false,
      hide: true,
      search: true,
      searchRange: true,
      searchSpan: 12
    }]
}
